package org.autocode.config;

import java.util.List;

/**
 * @program: autocode
 * @description:
 * @author: zhu.xiaojie
 * @create: 2020-08-16 09:39
 */
public interface AutoConfig {

    /**
     * 获取数据源的配置列表
     * @return
     */
    List<DatasourceConfig> getDatasourceConfig();

    void addDatasource(DatasourceConfig config);


    DatasourceConfig getDatasourceConfigByName(String name);
}
